<template>
  <van-dialog :show="show" title="是否放弃获取更多权益？" message="升级会员，畅想独家优惠，获取更多权益！" show-confirm-button show-cancel-button
    @confirm="confirm" @cancel="cancel">
  </van-dialog>
</template>
<script setup>
const props = defineProps({
  show: {
    type: Boolean,
    default: false
  }
})
const emit = defineEmits(['confirm', 'cancel'])
const confirm = () => {
  emit('confirm')
}

const cancel = () => {
  emit('cancel')
}
</script>
<style lang="less" scoped></style>